From 1c991f83bfa0b5cc337169465d747966879ecc1b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 20 May 2016 17:00:15 +0300 Subject: [PATCH] fix test_cargo_publish --- tests/test_cargo_publish.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_cargo_publish.rs b/tests/test_cargo_publish.rs index 31d3c4641..bba868d4d 100644 --- a/tests/test_cargo_publish.rs +++ b/tests/test_cargo_publish.rs @@ -51,6 +51,7 @@ test!(simple { assert_that(p.cargo_process("publish").arg("--no-verify"), execs().with_status(0).with_stderr(&format!("\ [UPDATING] registry `{reg}` +[WARNING] manifest has no documentation, [..] [PACKAGING] foo v0.0.1 ({dir}) [UPLOADING] foo v0.0.1 ({dir}) ", @@ -100,6 +101,7 @@ test!(git_deps { assert_that(p.cargo_process("publish").arg("-v").arg("--no-verify"), execs().with_status(101).with_stderr("\ +[UPDATING] registry [..] [ERROR] all dependencies must come from the same source. dependency `foo` comes from git://path/to/nowhere instead ")); @@ -129,6 +131,7 @@ test!(path_dependency_no_version { assert_that(p.cargo_process("publish"), execs().with_status(101).with_stderr("\ +[UPDATING] registry [..] [ERROR] all path dependencies must have a version specified when publishing. dependency `bar` does not specify a version ")); -- 2.30.2